#include "NavigatePage.h"
#include "AppRouter.h"
#include "PageMgr.h"

REGISTER_PAGE("Pages/Navigate", NavigatePage)

void NavigatePage::OnViewLoad() {
	m_view.Create(m_body);
}

void NavigatePage::OnScrSlideRight() {
	GoTo("Pages/HeartRate", anim_type_em::LOAD_ANIM_MOVE_RIGHT);
}

void NavigatePage::OnScrSlideLeft() {
	GoTo("Pages/SunMoon", anim_type_em::LOAD_ANIM_MOVE_LEFT);
}